import request from '/@/utils/request'

export function signIn(params: object){
  return request({
    url: '/user/login',
    method: 'post',
    data:params
  })
}

export function getEmailIdentityCode(params: object){
  return request({
    url: '/identityCode/getEmailIdentityCode',
    method: 'get',
    params: params
  })
}

export function register(params: object){
  return request({
    url: '/user/register',
    method: 'post',
    data: params
  })
}